package com.spic.system.api.dto;

/**
 * 记录文件url，如果是OFFICE文件，转换为PDF重新保存到transformedUrl；
 * 其他文件（不需要转换的）transformedUrl与originalUrl取相同值
 */
public class SysFileRecord {
    /**
    * 主键
    */
    private String id;

    /**
    * 原始文件URL
    */
    private String originalUrl;

    /**
    * 转换PDF后url
    */
    private String transformedUrl;
    /**
     * 文件名
     */
    private String name;

    /**
     * 文件扩展名
     */
    private String ext;

    private String url;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOriginalUrl() {
        return originalUrl;
    }

    public void setOriginalUrl(String originalUrl) {
        this.originalUrl = originalUrl;
    }

    public String getTransformedUrl() {
        return transformedUrl;
    }

    public void setTransformedUrl(String transformedUrl) {
        this.transformedUrl = transformedUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}